package com.yigang.entity;
/**
 * @author 陈佳祥
 *活动关联商品 实体类
 */
public class Exercise {
	private int product_id;//商品id
	private int session_id;//场次id
	private int activity_id;//主键
	private String product_name;//商品名称
	private String session_name;//活动名称
	private String product_maingraph;//商品主图
	private String product_brand;//商品品牌
	private String session_starttime;//活动开始时间
	private String session_endtime;//活动结束时间
	private int product_shelf;//商品是否推荐
	private int product_discount;//商品折扣价
	private String product_price;//商品价格
	public Exercise(int product_id, int session_id, int activity_id, String product_name, String session_name,
			String product_maingraph, String product_brand, String session_starttime, String session_endtime,
			int product_shelf, int product_discount, String product_price) {
		super();
		this.product_id = product_id;
		this.session_id = session_id;
		this.activity_id = activity_id;
		this.product_name = product_name;
		this.session_name = session_name;
		this.product_maingraph = product_maingraph;
		this.product_brand = product_brand;
		this.session_starttime = session_starttime;
		this.session_endtime = session_endtime;
		this.product_shelf = product_shelf;
		this.product_discount = product_discount;
		this.product_price = product_price;
	}
	public int getProduct_id() {
		return product_id;
	}
	public void setProduct_id(int product_id) {
		this.product_id = product_id;
	}
	public int getSession_id() {
		return session_id;
	}
	public void setSession_id(int session_id) {
		this.session_id = session_id;
	}
	public int getActivity_id() {
		return activity_id;
	}
	public void setActivity_id(int activity_id) {
		this.activity_id = activity_id;
	}
	public String getProduct_name() {
		return product_name;
	}
	public void setProduct_name(String product_name) {
		this.product_name = product_name;
	}
	public String getSession_name() {
		return session_name;
	}
	public void setSession_name(String session_name) {
		this.session_name = session_name;
	}
	public String getProduct_maingraph() {
		return product_maingraph;
	}
	public void setProduct_maingraph(String product_maingraph) {
		this.product_maingraph = product_maingraph;
	}
	public String getProduct_brand() {
		return product_brand;
	}
	public void setProduct_brand(String product_brand) {
		this.product_brand = product_brand;
	}
	public String getSession_starttime() {
		return session_starttime;
	}
	public void setSession_starttime(String session_starttime) {
		this.session_starttime = session_starttime;
	}
	public String getSession_endtime() {
		return session_endtime;
	}
	public void setSession_endtime(String session_endtime) {
		this.session_endtime = session_endtime;
	}
	public int getProduct_shelf() {
		return product_shelf;
	}
	public void setProduct_shelf(int product_shelf) {
		this.product_shelf = product_shelf;
	}
	public int getProduct_discount() {
		return product_discount;
	}
	public void setProduct_discount(int product_discount) {
		this.product_discount = product_discount;
	}
	public String getProduct_price() {
		return product_price;
	}
	public void setProduct_price(String product_price) {
		this.product_price = product_price;
	}
	public Exercise() {
		super();
	}
	@Override
	public String toString() {
		return "Activity [product_id=" + product_id + ", session_id=" + session_id + ", activity_id=" + activity_id
				+ ", product_name=" + product_name + ", session_name=" + session_name + ", product_maingraph="
				+ product_maingraph + ", product_brand=" + product_brand + ", session_starttime=" + session_starttime
				+ ", session_endtime=" + session_endtime + ", product_shelf=" + product_shelf + ", product_discount="
				+ product_discount + ", product_price=" + product_price + "]";
	}

	
	
}
